import CommonApi from './common'

class DemandAnalysisApi extends CommonApi {
    constructor() {
        super()
        this.scope = '/model/maintrequirement'
    }

    // 需求明细
    requirementDetailList(data) {
        const path = this.resolvePath('/requirementDetailList')
        return this.post(path, data)
    }

    // 养护质量
    maintQuality(data) {
        const path = this.resolvePath('/maintQuality')
        return this.post(path, data)
    }

    // 需求汇总
    requirementSummary(data) {
        const path = this.resolvePath('/requirementSummary')
        return this.post(path, data)
    }

    // 各路线需求明细
    lineRequirementSummary(data) {
        const path = this.resolvePath('/lineRequirementSummary')
        return this.post(path, data)
    }
}

export default DemandAnalysisApi
